package com.zoe.onelink.logging.trace.zipkin.sender;

import zipkin2.Call;
import zipkin2.codec.Encoding;
import zipkin2.reporter.Sender;

import java.util.List;

/**
 * <p>标题: </p>
 * <p>描述: </p>
 * <p>版权: Copyright (c) 2021</p>
 * <p>公司: 智业软件股份有限公司</p>
 *
 * @version: 1.0
 * @author: ruansheng
 * @date: 2021-09-07
 */
public class SpanNopSender extends Sender {

    @Override
    public Encoding encoding() {
        return null;
    }

    @Override
    public int messageMaxBytes() {
        return -1;
    }

    @Override
    public int messageSizeInBytes(List<byte[]> encodedSpans) {
        return -1;
    }

    @Override
    public Call<Void> sendSpans(List<byte[]> encodedSpans) {
        return null;
    }

}
